Skip to content

test: raise line coverage - #145

Merged
roxblnfk merged 2 commits into
4.xfrom
test/coverage
Nov 20, 2026
Merged

roxblnfk merged 2 commits into
4.xfrom
test/coverage

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

What was changed

  • New unit tests cover the attribute-reader failure path of TokenizerEntityLocator and TokenizerEmbeddingLocator (the reader's exception is wrapped into AnnotationException with its message, code and previous exception), plus the Embeddable::getColumns() and Relation::getLoad() accessors.
  • Line coverage goes from 94.3% to 95.0% locally (Unit + SQLite) and from 91.86% to 92.68% on Codecov; no file is left under 90%.

Why?

These were the only files under 90% line coverage.

Checklist

  • Tested
    • Unit + SQLite suites run locally with coverage
    • Unit tests added

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…ssors

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@roxblnfk
roxblnfk requested a review from a team November 20, 2026 19:43
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.68%. Comparing base (04cd5fe) to head (657e329).

Additional details and impacted files
@@            Coverage Diff             @@
##              4.x     #145      +/-   ##
==========================================
+ Coverage   91.86%   92.68%   +0.81%     
==========================================
  Files          39       39              
  Lines         848      847       -1     
==========================================
+ Hits          779      785       +6     
+ Misses         69       62       -7     
Flag Coverage Δ
mysql 90.77% <ø> (ø)
postgres 90.89% <ø> (ø)
sqlite 90.77% <ø> (ø)
sqlserver 90.77% <ø> (ø)
unit 45.95% <ø> (+1.62%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roxblnfk
roxblnfk merged commit 7944111 into 4.x Nov 20, 2026
22 checks passed
@roxblnfk
roxblnfk deleted the test/coverage branch November 20, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant